package com.mushroom_street.product.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_product")
public class ProductDto {
    /**
     * price:价格
     * title:名称
     * shop:店名
     * image：图片地址
     */
    @TableId
    private Double price;
    private String title;
    private String shop;
    private String image;
}
